package com.hylanda.va.entity.dict;
/** 
 * @author zhangy
 * @E-mail:blackoon88@gmail.com 
 * @qq:846579287
 * @version created at：2018年5月21日 下午2:49:50 
 * note
 */
public enum LeaveType {
	SHIJIA("事假",1){},
	NIANJIA("年假",2){},
	TIAOXIU("调休",3),
	BINGJIA("病假",4),
	HUNJIA("婚假",5),
	SANGJIA("丧假",6),
	;
	
	private String name;
	private int value;
	private LeaveType(String name,int value){
		this.name=name;
		this.value=value;
	}
	
	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public int getValue() {
		return value;
	}


	public void setValue(int value) {
		this.value = value;
	}


	public static LeaveType[] getAllClockingInStatus(){
		return new LeaveType[]{SHIJIA,NIANJIA,TIAOXIU,BINGJIA,HUNJIA,SANGJIA};
	}
}
